import http from './http'

const api = {
    getUserInfo (data) {
        return http.post('/api/userLogin', data)
    },
    getAddBase (data) {
        return http.post('/api/addBase', data)
    },
    getBaseList (data) {
        return http.post('/api/baseList', data)
    },
    getRenewBase(data) {
        return http.post('/api/renewBase', data)
    },
    getAddSubject(data) {
        return http.post('/api/addSubject', data)
    },
    getSubjectList(data) {
        return http.post('/api/subjectList', data)
    },
    delSubject(data) {
        return http.post('/api/delSubject', data)
    }
}

export default api